﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="Saker.Web.Boss.Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>企业开发框架</title>
    <link href="../Styles/global.css" rel="stylesheet" type="text/css" />
    <link href="../Scripts/jBox/Skins/Green/jbox.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.utils.js" type="text/javascript"></script>
    <script src="../Scripts/jBox/jquery.jBox-2.3.min.js" type="text/javascript"></script>
    <script src="../Scripts/admin.js" type="text/javascript"></script>
    <script src="../Scripts/admin.ui.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/admin.menu.js?v=1.0"></script>
    <script type="text/javascript">
        // 只调用最顶的jBox
        if (top.jBox != undefined) {
            window.jBox = top.jBox;
        }
    </script>
    <script type="text/javascript">
        admin.config.logoutUrl = 'Logout.aspx';

        admin.config.addMenu('后台首页', 'Welcome.aspx', 'content');
       
        admin.config.addMenuGroup(
            admin.config.menuItem('系统管理', '#', '_self'),
            [
            admin.config.menuItem('用户列表', '/Boss/Sys/User/List.aspx', 'content'),
            admin.config.menuItem('部门管理', '/Boss/Sys/Depart/DepartList.aspx', 'content'),
            admin.config.menuItem('角色管理', '/Boss/Sys/Role/RolesList.aspx', 'content'),
            admin.config.menuItem('权限列表', '/Boss/Sys/Modules/AuthorityPage.aspx', 'content'),
            admin.config.menuItem('模块管理', '/Boss/Sys/Modules/ModulesList.aspx', 'content')
            ]);
        $(function () { top.jBox.tip('欢迎登录！', 'success'); });

        function doSetLanguage(lang) {
            window.location.href = '/Home/SetLanguage.aspx?lang=' + lang;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="wp">
        <div id="header">
            <div id="header-logo">
            </div>
            <h3 id="header-title">
                企业开发框架</h3>
            <div id="header-nav">
                <span class="txt-white">欢迎您 管理员，</span> <a href="javascript:admin.ui.doLogout();">退出系统</a>
                <a href="#" target="_blank">技术支持</a>
            </div>
        </div>
        <!--//#header-->
        <div id="main">
            <div id="left">
                <div id="left-tit">
                    菜单选项</div>
                <div id="left-nav">
                </div>
            </div>
            <!--//#left-->
            <div id="right-wp">
                <div id="right">
                    <div id="loading">
                        <img alt="" src="../images/loading.gif" /></div>
                    <script type="text/javascript">
                        admin.ui.outputIframe();
                    </script>
                </div>
            </div>
            <!--//#right-->
        </div>
        <!--//#main-->
        <div id="footer-line">
        </div>
        <div id="footer">
            <div id="footer-msg">
                [版权所有：<a href="#" target="_blank">Saker</a>] 建议使用 IE7 以上版本或其它主流浏览器，分辨率 1024x768
                或更高。</div>
            <div id="footer-time">
                <span class="icon-sprite icon-alarm"></span>&nbsp;&nbsp;时间：<span id="time"></span></div>
        </div>
        <!--//#footer-->
    </div>
    <!--//#wp-->
    </form>
</body>
</html>
